.Net Framework > v2.0.50727 > System > String > IndexOf IndexOf(Char)
IndexOf(Char,Int32)
IndexOf(Char,Int32,Int32)
IndexOf(String)
IndexOf(String,Int32)
IndexOf(String,Int32,Int32)
IndexOf(String,Int32,Int32,StringComparison)
IndexOf(String,Int32,StringComparison)
IndexOf(String,StringComparison)


IndexOf(Char)

Category
Method
Description
Reports the index of the first occurrence of the specified Unicode character in this string.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueChar
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(Char,Int32)

Category
Method
Description
Reports the index of the first occurrence of the specified Unicode character in this string. The search starts at a specified character position.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueChar
startIndexInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(Char,Int32,Int32)

Category
Method
Description
Reports the index of the first occurrence of the specified character in this instance. The search starts at a specified character position and examines a specified number of character positions.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueChar
startIndexInt32
countInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String)

Category
Method
Description
Reports the index of the first occurrence of the specified System.String in this instance.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Int32)

Category
Method
Description
Reports the index of the first occurrence of the specified System.String in this instance. The search starts at a specified character position.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueString
startIndexInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Int32,Int32)

Category
Method
Description
Reports the index of the first occurrence of the specified System.String in this instance. The search starts at a specified character position and examines a specified number of character positions.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueString
startIndexInt32
countInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Int32,Int32,StringComparison)

Category
Method
Description
Reports the index of the first occurrence of the specified string in the current System.String object. Parameters specify the starting search position in the current string, the number of characters in the current string to search, and the type of search to use for the specified string.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueString
startIndexInt32
countInt32
comparisonTypeStringComparison
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Int32,StringComparison)

Category
Method
Description
Reports the index of the first occurrence of the specified string in the current System.String object. Parameters specify the starting search position in the current string and the type of search to use for the specified string.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueString
startIndexInt32
comparisonTypeStringComparison
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,StringComparison)

Category
Method
Description
Reports the index of the first occurrence of the specified string in the current System.String object. A parameter specifies the type of search to use for the specified string.
Type
Int32
Character
public
Parameters
NameTypeDescription
valueString
comparisonTypeStringComparison
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database